package com.yunpai.SevenPr.Interfacedivide;

/**
 * A类
 */
public class A {


    /**
     * 方法1
     */
    public void operation1(Interface1 interface1) {
        interface1.operation1();
    }

    /**
     * 方法2
     */
    public void operation2(Interface2 interface2) {
        interface2.operation2();
    }

    /**
     * 方法3
     */
    public void operation3(Interface2 interface2) {
        interface2.operation3();
    }

}
